require.config({
    baseUrl:"./modules_productList",
    paths:{
        jq:"../libs/jquery",
        ajax:"../libs/ajax"
    }
})
require(["jq","getData","proListRender","LoginGuard"],function(_,getData,proListRender,LoginGuard){
    const cont = document.querySelector(".Pro_list_cont");
    getData(res=>{
        proListRender(res,cont);
    })
    // 登录守卫
    const nav_span = document.querySelector(".nav_span");
    LoginGuard(nav_span);
})